.section {
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.top {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.time {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);

  text {
    font-size: 28rpx;
    color: #000;
    line-height: 60rpx;
  }
}

.title {
  width: auto;
  height: 80rpx;

  .title_content {
    width: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

    .title_text {
      font-size: 36rpx;
      font-weight: bold;
      color: #0678b8;
    }

    .title_tips {
      font-size: 28rpx;
      color: #333;
    }
  }
}

.tips {
  width: auto;
  margin-top: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;

  image {
    width: 70rpx;
    margin: 0 8rpx;
  }

  text {
    font-size: 28rpx;
    color: #0678b8;
    padding: 0 8rpx;
  }
}

.content {
  flex: 1;
  width: 100%;
  padding: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-y: auto;
}

.box {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.selected {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 24rpx;
  // border-bottom: 4rpx solid #dddddd;
}

.selected_content {
  width: 120rpx;
  height: 56rpx;
  margin-right: 8rpx;
  margin-bottom: 10rpx;
  border-radius: 28rpx;
  background: #e4e3e8;

  &.active {
    background-color: #7ab9e1;
  }

  &.error {
    background-color: #a0a0a0;
  }

  .selected_button {
    width: 100%;
    height: 100%;
    font-size: 24rpx;
    color: #fff;
    font-weight: 700;
    line-height: 56rpx;
    text-align: center;

    &.disabled {}
  }
}

.word {
  width: 100%;
  margin-top: 28rpx;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.word_content {
  width: 146rpx;
  height: 56rpx;
  margin-right: 8rpx;
  margin-bottom: 10rpx;
  border-radius: 8rpx;
  background: #fde9a1;

  &.select {
    background-color: #fff;
    border: 2rpx solid #fde9a1;
  }

  .word_button {
    width: 100%;
    height: 100%;
    font-size: 24rpx;
    color: #0678b8;
    font-weight: 700;
    text-align: center;
    line-height: 56rpx;
  }
}

.fixed {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.result {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  .result_top {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    image {
      width: 32rpx;
      height: 32rpx;
    }

    .error {
      font-size: 28rpx;
      color: #ff6600;
      padding: 0 8rpx;
    }

    .correct {
      font-size: 28rpx;
      color: #7de03b;
      padding: 0 8rpx;
    }
  }

  .result_bottom {
    width: 100%;
    margin-top: 24rpx;
    font-size: 32rpx;
    color: #7ab9e1;
    line-height: 44rpx;
  }
}

.chart {
  width: 180px;
  height: 180px;
  margin-left: 40rpx;
}

.info {
  width: auto;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;

  .progress {
    width: auto;
    padding: 0 8rpx;
    display: flex;
    justify-content: flex-start;
    align-items: center;

    text {
      &:nth-child(1) {
        font-size: 32rpx;
        color: #0678b8;
      }

      &:nth-child(2) {
        font-size: 32rpx;
        color: #999;
      }
    }
  }
}

.button {
  width: auto;
  margin-top: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;

  .button_content {
    width: 195rpx;
    height: 89rpx;
    margin: 0 20rpx;
    padding-bottom: 10rpx;
    display: flex;
    justify-content: center;
    align-items: center;

    &.next {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/hengxiao/common/btn_bg.png) center center/cover no-repeat;

      text {
        font-size: 28rpx;
        color: #fff;
        font-weight: 700;
      }
    }

    &.submit {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/hengxiao/common/btn_bg.png) center center/cover no-repeat;

      text {
        font-size: 28rpx;
        color: #ffffff;
        font-weight: 700;
      }
    }

    &.reselection {
      background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/hengxiao/common/btn_bg.png) center center/cover no-repeat;

      text {
        font-size: 28rpx;
        color: #fff;
        font-weight: 700;
      }
    }

    &.disabled {}
  }
}

.popup_container {
  width: 686rpx;
  padding-top: 64rpx;
  padding-bottom: 32rpx;
  border-radius: 12rpx;
  background: #ffd541;
  box-shadow: 8rpx 8rpx 0px 0px rgba($color: #ffd541, $alpha: 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.popup_text {
  width: 100%;
  margin: 32rpx 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;

  text {
    font-size: 32rpx;
    color: #0678b8;
    font-weight: 700;
  }
}

.popup_button {
  width: 232rpx;
  height: 64rpx;
  background: url(https://hengxiao-resource.oss-cn-hangzhou.aliyuncs.com/web/resources/images/app/button_bg4.png) center/cover no-repeat scroll;
  display: flex;
  justify-content: center;
  align-items: center;

  text {
    font-size: 28rpx;
    color: #fff;
    font-weight: 700;
  }
}